package com.sunmouse.toolkit.widget.progress;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view.View;

/**
 * Created by Administrator on 2017/9/5 0005.
 */
public class WaterProgress extends View {
    private Rect mRect;
    private Paint mSqualPaint;
    private Paint mCirclePaint;

    public WaterProgress(Context context) {
        this(context, null);
    }

    public WaterProgress(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    /**
     * init
     */
    private void init() {
        mRect = new Rect();
        mSqualPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG);
        mCirclePaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG);
       // mCirclePaint
    }


    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);

    }
}
